import React from 'react';

const Subscription = () => {
  return (
    <div className="subscription-page">
      <h2>我的套餐</h2>
      
      <div className="current-plan">
        <div className="plan-header">
          <h3>当前套餐</h3>
          <span className="plan-tag">免费版</span>
        </div>
        
        <div className="plan-details">
          <div className="detail-item">
            <span className="detail-label">套餐到期时间</span>
            <span className="detail-value">永久</span>
          </div>
          <div className="detail-item">
            <span className="detail-label">每月创作额度</span>
            <span className="detail-value">10篇</span>
          </div>
          <div className="detail-item">
            <span className="detail-label">已使用</span>
            <span className="detail-value">0篇</span>
          </div>
          <div className="detail-item">
            <span className="detail-label">剩余</span>
            <span className="detail-value">10篇</span>
          </div>
        </div>
        
        <div className="plan-actions">
          <button className="btn-primary">升级套餐</button>
        </div>
      </div>
      
      <div className="plans-comparison">
        <h3>套餐对比</h3>
        
        <div className="plans-table">
          <table>
            <thead>
              <tr>
                <th>功能</th>
                <th>免费版</th>
                <th>基础版</th>
                <th>专业版</th>
                <th>企业版</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                <td>每月文章数</td>
                <td>10篇</td>
                <td>50篇</td>
                <td>200篇</td>
                <td>无限</td>
              </tr>
              <tr>
                <td>关键词库容量</td>
                <td>100个</td>
                <td>1000个</td>
                <td>10000个</td>
                <td>无限</td>
              </tr>
              <tr>
                <td>自动创作发布</td>
                <td>✘</td>
                <td>✓</td>
                <td>✓</td>
                <td>✓</td>
              </tr>
              <tr>
                <td>团队成员</td>
                <td>1人</td>
                <td>3人</td>
                <td>10人</td>
                <td>无限</td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
    </div>
  );
};

export default Subscription; 